class level_judging :
    def __init__(self, level) :
        self.level_end = level
        self.level_exp = {}
        for i in range(1, self.level_end+1) :
            self.level_exp[str(i)] = 300 + 200 * i
        
    def get_level(self, level, now_exp) :
        if now_exp >= self.level_exp[str(level)] :
            return [level + 1, now_exp - self.level_exp[str(level)]]
        elif now_exp < self.level_exp[str(level)] :
            return level, now_exp
        